package com.aptech.daos;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractOrders entity provides the base persistence definition of the Orders
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractOrders implements java.io.Serializable {

	// Fields

	private Integer orderId;
	private Ship ship;
	private Customers customers;
	private Timestamp orderDate;
	private Timestamp requiredDate;
	private Timestamp shippedDate;
	private Long subTotal;
	private String shipAddress;
	private String shipCity;
	private Set orderDetailses = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractOrders() {
	}

	/** minimal constructor */
	public AbstractOrders(Integer orderId, Ship ship, Customers customers,
			Timestamp orderDate, Timestamp requiredDate, Timestamp shippedDate,
			Long subTotal, String shipAddress, String shipCity) {
		this.orderId = orderId;
		this.ship = ship;
		this.customers = customers;
		this.orderDate = orderDate;
		this.requiredDate = requiredDate;
		this.shippedDate = shippedDate;
		this.subTotal = subTotal;
		this.shipAddress = shipAddress;
		this.shipCity = shipCity;
	}

	/** full constructor */
	public AbstractOrders(Integer orderId, Ship ship, Customers customers,
			Timestamp orderDate, Timestamp requiredDate, Timestamp shippedDate,
			Long subTotal, String shipAddress, String shipCity,
			Set orderDetailses) {
		this.orderId = orderId;
		this.ship = ship;
		this.customers = customers;
		this.orderDate = orderDate;
		this.requiredDate = requiredDate;
		this.shippedDate = shippedDate;
		this.subTotal = subTotal;
		this.shipAddress = shipAddress;
		this.shipCity = shipCity;
		this.orderDetailses = orderDetailses;
	}

	// Property accessors

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Ship getShip() {
		return this.ship;
	}

	public void setShip(Ship ship) {
		this.ship = ship;
	}

	public Customers getCustomers() {
		return this.customers;
	}

	public void setCustomers(Customers customers) {
		this.customers = customers;
	}

	public Timestamp getOrderDate() {
		return this.orderDate;
	}

	public void setOrderDate(Timestamp orderDate) {
		this.orderDate = orderDate;
	}

	public Timestamp getRequiredDate() {
		return this.requiredDate;
	}

	public void setRequiredDate(Timestamp requiredDate) {
		this.requiredDate = requiredDate;
	}

	public Timestamp getShippedDate() {
		return this.shippedDate;
	}

	public void setShippedDate(Timestamp shippedDate) {
		this.shippedDate = shippedDate;
	}

	public Long getSubTotal() {
		return this.subTotal;
	}

	public void setSubTotal(Long subTotal) {
		this.subTotal = subTotal;
	}

	public String getShipAddress() {
		return this.shipAddress;
	}

	public void setShipAddress(String shipAddress) {
		this.shipAddress = shipAddress;
	}

	public String getShipCity() {
		return this.shipCity;
	}

	public void setShipCity(String shipCity) {
		this.shipCity = shipCity;
	}

	public Set getOrderDetailses() {
		return this.orderDetailses;
	}

	public void setOrderDetailses(Set orderDetailses) {
		this.orderDetailses = orderDetailses;
	}

}